package org.keyyond.ms.business.dao;

import java.util.List;
import java.util.Map;

import org.keyyond.ms.business.mapper.MsBusinessMdmLogMapper;
import org.keyyond.ms.business.model.MsBusinessMdmLog;
import org.keyyond.ms.business.util.BaseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MsBusinessMdmLogDao extends BaseDao<MsBusinessMdmLog> {

    @Autowired
    private MsBusinessMdmLogMapper msBusinessMdmLogMapper;

    public int saveReturnPid(MsBusinessMdmLog entity) {
	return msBusinessMdmLogMapper.saveReturnPid(entity);
    }

    public List<MsBusinessMdmLog> getBankLogById(Map<String, Object> map) {
	return msBusinessMdmLogMapper.getBankLogById(map);
    }

    public int update(MsBusinessMdmLog record) {
	return msBusinessMdmLogMapper.update(record);
    }

}
